---
profile: basic # min, basic, moderate,safety, shared, production

exclude_paths:
  - .cache/
  - .venv
  - configs/

loop_var_prefix: ^(__|{role}_)
var_naming_pattern: ^[a-z_][a-z0-9_]*$
use_default_rules: true

enable_list:
  - args
  - empty-string-compare
  - no-log-password
  - no-same-owner
  - yaml

skip_list:
  - yaml[comments]

# Ansible-lint does not fail on warnings from the rules or tags listed below
warn_list:
  - skip_this_tag
  # - experimental  # experimental is included in the implicit list
  # - role-name
  # - yaml[document-start]  # you can also use sub-rule matches

# Some rules can transform files to fix (or make it easier to fix) identified
# errors. `ansible-lint --fix` will reformat YAML files and run these transforms.
# By default it will run all transforms (effectively `write_list: ["all"]`).
# You can disable running transforms by setting `write_list: ["none"]`.
# Or only enable a subset of rule transforms by listing rules/tags here.
# write_list:
#   - all

# Define required Ansible's variables to satisfy syntax check
# extra_vars:
#   foo: bar
#   multiline_string_variable: |
#     line1
#     line2
#   complex_variable: ":{;\t$()"

# Uncomment to enforce action validation with tasks, usually is not
# needed as Ansible syntax check also covers it.
# skip_action_validation: false

# List of additional kind:pattern to be added at the top of the default
# match list, first match determines the file kind.
# kinds:
#   # - playbook: "**/examples/*.{yml,yaml}"
#   # - galaxy: "**/folder/galaxy.yml"
#   # - tasks: "**/tasks/*.yml"
#   # - vars: "**/vars/*.yml"
#   # - meta: "**/meta/main.yml"
#   - yaml: "**/*.yaml-too"

# List of additional collections to allow in only-builtins rule.
# only_builtins_allow_collections:
#   - example_ns.example_collection

# List of additions modules to allow in only-builtins rule.
# only_builtins_allow_modules:
#   - example_module

# Allow setting custom prefix for name[prefix] rule
task_name_prefix: "{stem} | "
# Complexity related settings

# Limit the depth of the nested blocks:
# max_block_depth: 20
